package com.sanyu.controller.admin;

import com.sanyu.pojo.dto.PurchaseDTO;
import com.sanyu.pojo.dto.PurchasePageQueryDTO;
import com.sanyu.pojo.vo.PurchaseVO;
import com.sanyu.result.PageResult;
import com.sanyu.result.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/admin/purchase")
@Api("后台管理页面/充值记录管理相关接口")
public class PurchaseController {
    @GetMapping("/{id}")
    @ApiOperation("根据ID查询充值记录")
    public Result<PurchaseVO> detail(){
        return Result.success(new PurchaseVO());
    }

    @GetMapping("/page")
    @ApiOperation("充值记录分页查询")
    public PageResult page(PurchasePageQueryDTO purchasePageQueryDTO){
        return new PageResult();
    }
}
